[INFO] cloning repository https://github.com/kmlupreti/lox
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kmlupreti/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkmlupreti%2Flox", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkmlupreti%2Flox'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ce3b51c8b76001efb32d1b6665f0134381c2e9ee
[INFO] fixing kmlupreti/lox against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkmlupreti%2Flox" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kmlupreti/lox
[INFO] finished tweaking git repo https://github.com/kmlupreti/lox
[INFO] tweaked toml for git repo https://github.com/kmlupreti/lox written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kmlupreti/lox on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kmlupreti/lox already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b4b4f413d1bcfbd9e724220628def979c11f942b734d622ef17b3db18ba02a3f
[INFO] running `Command { std: "docker" "start" "b4b4f413d1bcfbd9e724220628def979c11f942b734d622ef17b3db18ba02a3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b4b4f413d1bcfbd9e724220628def979c11f942b734d622ef17b3db18ba02a3f" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b4b4f413d1bcfbd9e724220628def979c11f942b734d622ef17b3db18ba02a3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b4b4f413d1bcfbd9e724220628def979c11f942b734d622ef17b3db18ba02a3f" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking lox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `lox::token::LiteralType`
[INFO] [stdout]  --> tests/scanner.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 |     token::{LiteralType, Token, TokenType},
[INFO] [stdout]   |             ^^^^^^^^^^^ no `LiteralType` in `token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: enum `TokenType` is private
[INFO] [stdout]  --> tests/scanner.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 |     token::{LiteralType, Token, TokenType},
[INFO] [stdout]   |                                 ^^^^^^^^^ private enum
[INFO] [stdout]   |
[INFO] [stdout] note: the enum `TokenType` is defined here
[INFO] [stdout]  --> src/token.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::token_type::TokenType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/scanner.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut scanner = Scanner::new(String::from(source));
[INFO] [stdout]    |                       ------------ ^^^^^^^^^^^^^^^^^^^^ expected `&String`, found `String`
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/scanner.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn new(source: &String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut scanner = Scanner::new(&String::from(source));
[INFO] [stdout]    |                                    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lox` (test "scanner") due to 8 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied
[INFO] [stdout]   --> tests/scanner.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 |         &Token::new(TokenType::LeftParen, String::from("("), 2, LiteralType::Nil)
[INFO] [stdout]    |          ^^^^^^^^^^                                             ---------------- unexpected argument #4
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/token.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn new(token_type: TokenType, lexeme: String, line: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 17 -         &Token::new(TokenType::LeftParen, String::from("("), 2, LiteralType::Nil)
[INFO] [stdout] 17 +         &Token::new(TokenType::LeftParen, String::from("("), 2)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied
[INFO] [stdout]   --> tests/scanner.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 |         &Token::new(TokenType::Star, String::from("*"), 4, LiteralType::Nil)
[INFO] [stdout]    |          ^^^^^^^^^^                                        ---------------- unexpected argument #4
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/token.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn new(token_type: TokenType, lexeme: String, line: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 21 -         &Token::new(TokenType::Star, String::from("*"), 4, LiteralType::Nil)
[INFO] [stdout] 21 +         &Token::new(TokenType::Star, String::from("*"), 4)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied
[INFO] [stdout]   --> tests/scanner.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 |         &Token::new(TokenType::Eof, String::from("\0"), 5, LiteralType::Nil)
[INFO] [stdout]    |          ^^^^^^^^^^                                        ---------------- unexpected argument #4
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/token.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn new(token_type: TokenType, lexeme: String, line: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 25 -         &Token::new(TokenType::Eof, String::from("\0"), 5, LiteralType::Nil)
[INFO] [stdout] 25 +         &Token::new(TokenType::Eof, String::from("\0"), 5)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/scanner.rs:33:36
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut scanner = Scanner::new(String::from(source));
[INFO] [stdout]    |                       ------------ ^^^^^^^^^^^^^^^^^^^^ expected `&String`, found `String`
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/scanner.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn new(source: &String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut scanner = Scanner::new(&String::from(source));
[INFO] [stdout]    |                                    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied
[INFO] [stdout]   --> tests/scanner.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |             &Token::new(
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |                 LiteralType::Nil
[INFO] [stdout]    |                 ---------------- unexpected argument #4
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/token.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn new(token_type: TokenType, lexeme: String, line: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 41 -                 1,
[INFO] [stdout] 42 -                 LiteralType::Nil
[INFO] [stdout] 41 +                 1
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b4b4f413d1bcfbd9e724220628def979c11f942b734d622ef17b3db18ba02a3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4b4f413d1bcfbd9e724220628def979c11f942b734d622ef17b3db18ba02a3f", kill_on_drop: false }`
[INFO] [stdout] b4b4f413d1bcfbd9e724220628def979c11f942b734d622ef17b3db18ba02a3f
